﻿using FoodModel;
using J.FoodRepository.InterFace;
using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace J.FoodRepository.Impl
{
    public class DineRepository : BackRepository<DineModel>, IDineRepository
    {
        public DineRepository(ISqlSugarClient db) : base(db)
        {
        }
        /// <summary>
        /// 堂食添加
        /// </summary>
        /// <param name="model"></param>
        /// <returns></returns>
        public async Task<int> DineAdd(DineModel model)
        {
           return await base.AddAsync(model);
        }
    }
}
